We can also create a presentation template document by using the following codes. The operation of the template document is the same with the normal presentation document.
We can switch the mode presentation documents by using the following codes. Here the first one convert the presentation document to a template, and the second one convert the template to a normal presentation document.